/*
 * @Author: your name
 * @Date: 2021-10-27 10:18:45
 * @LastEditTime: 2024-05-10 16:46:01
 * @LastEditors: Tommy Chen weiyao_85@163.com
 * @Description: In User Settings Edit
 * @FilePath: /macc.admin.vue/src/project/adminIntl/store/index.js
 */
import Vue from 'vue';
import Vuex from 'vuex';
import Account from './modules/account';
import AuthCommon from './modules/authCommon';
import User from '@projectCommon/store/modules/user';
import I18n from '@projectCommon/store/modules/i18n';
import Theme from '@projectCommon/store/modules/theme';
import Layout from '@projectCommon/store/modules/layout';
import Group from '@projectCommon/store/modules/group';
import Radio from '@projectCommon/store/modules/radio';
import DeviceDetail from '@projectCommon/store/modules/deviceDetail';
import Ports from '@projectCommon/store/modules/ports';
import BusinessNet from '@projectCommon/store/modules/businessNet';
import SpeedMultiOut from '@projectCommon/store/modules/speedMultiOut';

import IntlTemp from '@projectCommon/store/modules/intlTemp';
import Authentication from '@projectCommon/store/modules/authentication';
import Smartconf from '@projectCommon/store/modules/smartconf';
import FlowControl from '@projectCommon/store/modules/flowControl';
import BatchSwConf from '@projectCommon/store/modules/batchSwConf';

import PortalAuth from '@projectCommon/store/modules/portalAuth';
import Dot1x from '@projectCommon/store/modules/dot1x';

import PrivateCustomed from '@projectCommon/store/modules/privateCustomed';
// import Vpn from './modules/vpn';

Vue.use(Vuex);

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    //将单一store拆分成多个
    Account,
    User,
    I18n,
    Layout,
    Theme,
    DeviceDetail,
    Group,
    Ports,
    Radio,
    BusinessNet,
    SpeedMultiOut,

    IntlTemp,
    Authentication,
    Smartconf,
    FlowControl,
    BatchSwConf,

    PortalAuth,
    Dot1x,

    PrivateCustomed, //客户定制信息

    AuthCommon, // tommy 24.05.22 认证盒子公用
  },
});
